package com.ncloud.crm.entity.order;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

/**
 * Created by shiqiang on 2017/4/10.
 */
@SuppressWarnings("serial")
public class Order implements Serializable{
    /*订单id*/
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long orderId;
    /*客户id*/
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long custId;
    private String custName;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long prodId;
    private String orderType;

    private String orderState;
    
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date execTime;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date finishTime;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long channelId;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long createUser;

    private String remark;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getCustId() {
        return custId;
    }

    public void setCustId(Long custId) {
        this.custId = custId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getExecTime() {
        return execTime;
    }

    public void setExecTime(Date execTime) {
        this.execTime = execTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public Long getProdId() {
		return prodId;
	}

	public void setProdId(Long prodId) {
		this.prodId = prodId;
	}
}
